home *** CD-ROM | disk | FTP | other *** search
/ Alles Voor Internet / Tout Pour Internet / alles voor internet.iso / MacInternet™ / Telnet / DialScript / Examples / DelayNext.ds < prev    next >
Text File  |  1994-03-08  |  381b  |  15 lines

  1. script DelayNext
  2.                 -- Execution begins at the first state-- "one" in this case
  3.    state one
  4.       display "I'll wait ten seconds and then go to the next state\r";
  5.       delay 10;
  6.       next "two";
  7.       display "This statement never gets executed\r";
  8.    end;
  9.  
  10.    state two
  11.       display "I am at state two\r";
  12.    end;    -- Script terminates when it hits "end"
  13.  
  14. end;
  15.